.editor-wrap {
    width: 100%;
    height: 95%;
    display: flex;
    flex-direction: column;

    .editor-textarea {
        width: 100%;
        font-size: 14px;
        margin-top: 12px;
        line-height: 20px;
        min-height: 24px !important;
        padding: 0;
        margin: 0;
        resize: none;
    }
}

.editor-container {
    height: 100%;
    width: 100%;
    margin-top: 12px;
    flex: 1;
    min-height: 0;
}

/* 图片块 */
.editor-img-box {
    position: relative;
    width: 100%;
    height: 180px;
    margin: 8px 0;

    .editor-img {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    .delete-icon {
        width: 40px;
        height: 40px;
        position: absolute;
        bottom: 16px;
        right: 16px;
    }
}



.img-controls {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* 小按钮 */
.btn-mini {
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    text-align: center;
    margin-bottom: 4px;
}

/* 拖拽模式 */
.reorder-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 999;
}

.reorder-hint {
    padding: 12px;
    text-align: center;
    color: #888;
}

.reorder-list {
    padding: 16px;
}

.reorder-item {
    margin-bottom: 12px;
    border: 1px dashed #ccc;
    border-radius: 4px;
    padding: 8px;
}

.reorder-text {
    color: #666;
}

.reorder-image {
    width: 100%;
    height: auto;
}